FUNCTION

is_block_height_rule_active

function is_block_height_rule_active(r: rule_expression): boolean

Whether the rule, which is expected to have a block_height variable, is active. It does not check whether the rule variable is block_height.

Can only be called from an operation.

Parameters

  • r — the rule to check.

See Also

© 2024 Chromia